<template>
    <commonformdialog
    :isshowDialogs="isshowDialog"
    :dialogTitle="dialogTitle"
    @closetextDialog="closeDialog"
    @confirmbtn='confirmbtn'
    :isshowFooter='false'
    :topHeight='"10vh"'
    :isshowimportTitle='true'
    :importNum='importNum'
  >
    <slot></slot>
  </commonformdialog>
</template>

<script>
import commonformdialog from '@/components/commondialog/commondialog'
export default {
    data(){
        return{

        }
    },
    components:{
        commonformdialog
    },
    props:{
      //录入了几天数据
      importNum:{
        type:Number,
        default:0
      },
        //是否显示弹窗
    isshowDialog: {
      type: Boolean,
      default: false,
      required: true,
    },
    //表单的名字
    dialogTitle: {
      type: String,
      default: '',
      required: true,
    },
    },
    methods:{
         closeDialog() {
      //重置表单

      this.$emit('closedialog')
    },
    confirmbtn(){

    },
    }
}
</script>

<style scoped lang='scss'>

</style>